#pragma once

#include "../umlmodel_global.h"

#include "ActivityNode.h"

namespace uml {

/// <summary>
/// ControlNode
/// A ControlNode is an abstract ActivityNode that coordinates flows in an Activity.
/// </summary>
class UMLMODEL_EXPORT ControlNode : public ActivityNode {

public: // Constructors and destructors
    explicit ControlNode(const QString& umlType="uml::ControlNode");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
